package us.mooresr.webtroopmanager.client.activity;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;

import us.mooresr.webtroopmanager.client.ClientFactory;
import us.mooresr.webtroopmanager.client.ui.AdminView;
import us.mooresr.webtroopmanager.client.ui.ImportView;

public class ImportActivity extends MyActivity implements ImportView.Presenter {

	public ImportActivity(ClientFactory clientFactory) {
		super(clientFactory);

	}
	
	public void start(AcceptsOneWidget panel, EventBus eventBus) {
		super.start(panel, eventBus);
		
		ImportView importView = clientFactory.getImportView();
		importView.setPresenter(this);
		panel.setWidget(importView.asWidget());			
	}

}
